/*  dreic -- a compiler for Drei
 *
 *  $Id: Tokens.scala 3028 2006-10-26 14:25:49Z mihaylov $
 */

package dreic


/**
 * This class defines all token classes of dreic.
 */
object Tokens extends Enumeration {
  type Token = Value
	val EOF		= Value("<eof>")
	val BAD		= Value("<bad>")
	val IDENT	= Value("ident")
	val NUMBER	= Value("number")
	val STRING	= Value("string")
	val CLASS 	= Value("class")
	val EXTENDS = Value("extends")
	val THIS 	= Value("this")
	val NEW 	= Value("new")
	val DVAL 	= Value("val")
	val DEF 	= Value("def")
	val RETURN 	= Value("return")
	val INT 	= Value("Int")
	val VAR 	= Value("var")
	val WHILE 	= Value("while")
	val IF 		= Value("if")
	val SET 	= Value("set")
	val DO 		= Value("do")
	val PRINTINT 	= Value("printInt")
	val PRINTCHAR 	= Value("printChar")
	val READINT = Value("readInt")
	val READCHAR = Value("readChar")
	val TRUE 	= Value("true")
	val FALSE 	= Value("false")
	val LPAREN 	= Value("(");
	val RPAREN 	= Value(")"); 
	val LBRACE 	= Value("{");
	val RBRACE 	= Value("}");
	val POINTV	= Value(";");
	val VIRGU	= Value(",");
	val AFFECT	= Value("=");
	val DPOINT	= Value(":");
	val POINT	= Value(".");
	val AND     = Value("&&");
	val OR      = Value("||");
	val EGAL	= Value("==");
	val NEGAL	= Value("!=");
	val PETIT	= Value("<");
	val GRAND	= Value(">");
	val PTOUEG	= Value("<=");
	val GROUEG	= Value(">=");
	val PLUS	= Value("+");
	val MOINS	= Value("-");
	val NEG		= Value("!");
	val PROD	= Value("*");
	val QUOT	= Value("/");
	val PERCENT	= Value("%");
	val ELSE	= Value("else");
}
